package net.hn.hnms.biz.safety.monitor.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(description = "测点实时基本信息")
@TableName(value = "dwd_aqjk_now_base_sensorinfo")
public class BaseSensorInfoNowPo {

    @ApiModelProperty(value = "煤矿编码", required = true)
    private String mineCode;


    @ApiModelProperty(value = "测点编码", required = true)
    private String pointCode;

    @ApiModelProperty(value = "系统编码")
    private String systemCode;

    @ApiModelProperty(value = "分站编码")
    private String stationCode;

    @ApiModelProperty(value = "传感器类型")
    private String sensorType;

    @ApiModelProperty(value = "测点数值单位")
    private String valueUnit;

    @ApiModelProperty(value = "测点数值类型")
    private String pointValueType;

    @ApiModelProperty(value = "传感器定义时间")
    private Date installTime;

    @ApiModelProperty(value = "高量程")
    private BigDecimal highRange;

    @ApiModelProperty(value = "低量程")
    private BigDecimal lowRange;

    @ApiModelProperty(value = "上限报警门限")
    private BigDecimal upperLimit;

    @ApiModelProperty(value = "上限解报门限")
    private BigDecimal upperLimitRelease;

    @ApiModelProperty(value = "下限报警门限")
    private BigDecimal lowerLimit;

    @ApiModelProperty(value = "下限解报门限")
    private BigDecimal lowerLimitRelease;

    @ApiModelProperty(value = "上限断电门限")
    private BigDecimal upperLimitPoweroff;

    @ApiModelProperty(value = "上限复电门限")
    private BigDecimal upperLimitPoweron;

    @ApiModelProperty(value = "下限断电门限")
    private BigDecimal lowerLimitPoweroff;

    @ApiModelProperty(value = "下限复电门限")
    private BigDecimal lowerLimitPoweron;

    @ApiModelProperty(value = "开描述")
    private String openDesc;

    @ApiModelProperty(value = "停描述")
    private String stopDesc;

    @ApiModelProperty(value = "设备监测位置")
    private String pointMonitorLocation;

    @ApiModelProperty(value = "位置X")
    private BigDecimal xCoordinate;

    @ApiModelProperty(value = "位置Y")
    private BigDecimal yCoordinate;

    @ApiModelProperty(value = "位置Z")
    private BigDecimal zCoordinate;

    @ApiModelProperty(value = "传感器关联关系（D、K、Z）")
    private String pointRel;

    @ApiModelProperty(value = "是否同步")
    private String isSync;

    @ApiModelProperty(value = "数据上传时间")
    private Date uploadTime;

    @ApiModelProperty(value = "状态标识,0:失效;1:生效")
    private String dataFlag;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "测试关联")
    private char testg;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "删除时间")
    private Date deleteTime;

    @ApiModelProperty(value = "工作面编码")
    private String workfaceCode;

    @ApiModelProperty(value = "是否是重要测点")
    private String isImportant;

    @ApiModelProperty(value = "ID", required = true)
    private Long id;

    @ApiModelProperty(value = "传感器类型名称")
    private String sensorTypeName;
}